<h1> Login </h1>

<% form_for @user_session, :url => {:action => "create"} do |f| %>
  <%= f.error_messages
  %><div>
    <%= f.label :login %>
    <%= f.text_field :login
  %><div>
    <%= f.label :password %>
    <%= f.password_field :password
  %><div>
    <%= f.check_box :remember_me%>
    <%= f.label :remember_me
  %><div>
      <%=f.submit "Login"%>
<%end%>

